/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package se392.ateam2006.authentication;

import java.util.Collection;
import javax.ejb.Remote;

/**
 *
 * @author Caroline
 */
@Remote
public interface GroupMgmtRemote {

    boolean addGroup(java.lang.String groupid);

    boolean removeGroup(java.lang.String groupid);

    boolean addUserToGroup(java.lang.String groupid, String userid);

    boolean removeUserFromGroup(java.lang.String groupid, se392.ateam2006.user.UserEntity user);

    GroupEntity getGroupById(String permission);

    Collection<GroupEntity> getAllGroups();
    
}
